<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登录</title>
</head>
<body>
    <div>
        <form method="post" action="${pageContext.request.contextPath}/login">
            <table>
                <tr>
                    <div>${pageContext.session.id}</div>
                </tr>
                <tr>
                    <td>用户名：</td>
                    <td><input type="text" name="username"></td>
                </tr>
                <tr>
                    <td>密  码：</td>
                    <td><input type="password" name="password"></td>
                </tr>
                <tr>
                    <td><input type="submit" value="登录"></td>
                    <td></td>
                </tr>
            </table>
        </form>
    </div>
</body>
</html>
